package edu.whut.mall.mapper;

import edu.whut.mall.model.GroupBuyCategory;
import edu.whut.mall.model.GroupBuyCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GroupBuyCategoryMapper {
    long countByExample(GroupBuyCategoryExample example);

    int deleteByExample(GroupBuyCategoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(GroupBuyCategory record);

    int insertSelective(GroupBuyCategory record);

    List<GroupBuyCategory> selectByExample(GroupBuyCategoryExample example);

    GroupBuyCategory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") GroupBuyCategory record, @Param("example") GroupBuyCategoryExample example);

    int updateByExample(@Param("record") GroupBuyCategory record, @Param("example") GroupBuyCategoryExample example);

    int updateByPrimaryKeySelective(GroupBuyCategory record);

    int updateByPrimaryKey(GroupBuyCategory record);
}